<?php

if (!defined('BASEPATH'))
	exit('No direct script access allowed');

class Nfile extends CI_Controller {

	function __construct() {
		parent::__construct();
	}

	public function test() {

		$this -> load -> model("park_model");
		$this -> load -> model("address_county_model");
		
		
		
		$p=$this->address_county_model->get_address_county();
		
		foreach($p as $a=>$s ){
			if($a==183){
				
				
				echo $a.'=>'.$s;
				echo '<br>';
				
				preg_match_all("/[\x80-\xff]/", $s, $r);
				$wff=join('', $r[0]);
				$rqq=$this->park_model->get_park_by_key($wff);
				print_r($wff);
				
			}
		}
		
		//preg_match_all("/[\x80-\xff]/", $ne -> content, $r);
		//$cc = join('', $r[0]);
		//echo mb_substr($cc, 0, 70, "UTF-8");

		//$a = "asdasd!&aa 中文 aas";
		//preg_match_all("/[\x80-\xff]/", $a, $r);
		//echo join('', $r[0]);

	}

}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */
